package com.qianheng.kit.base.util.bean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MyServiceHolder {
    private static SpringContextUtil myService;

    @Autowired
    public void setMyService(SpringContextUtil myService) {
        MyServiceHolder.myService = myService;
    }

    public static SpringContextUtil getMyService() {
        return myService;
    }
}

